package com.jay.tools.web.webview;

import android.content.Context;
import android.webkit.WebView;

/**
 * author: tanjianpei
 * date: 2018/8/17 017 14:18
 * <p>
 * description: 禁止滚动
 */
public class MyWebView extends WebView {

    public MyWebView(Context context) {
        super(context);
    }

    @Override
    public void scrollTo(int x, int y){
        super.scrollTo(0,0);
    }
}
